function [X,Y] = gs_gridExtra(GSS)
%gs_gridExtra - grid data extraction 
%
%        [X,Y] = gs_gridExtra(GSS)
%
% This function extracts grid information from GSS and generates the grid.

% G. Teza, 2022

dx = GSS.XGridStep;
dy = GSS.YGridStep;

fv = GSS.DownLeftCorner;
fvx = fv(1);
fvy = fv(2);

lv = GSS.TopRightCorner;
lvx = lv(1);
lvy = lv(2);

grx = fvx:dx:lvx;
gry = fvy:dy:lvy;

[X,Y] = meshgrid(grx,gry);